package com.zqk.principle.openclose;

/**
 * @Package com.zqk.principle.openclose
 * @Description:TODO
 * @Author 张乾坤
 * @Create: 2018/10/25
 * @Version 1.0
 * @Update: message
 */
public class JavaCourse implements  ICourse {
    private  Integer id;
    private String name;
    private  Double price;

    public JavaCourse(Integer id, String name, Double price) {
        this.id = id;
        this.name = name;
        this.price = price;
    }

    public Integer getId() {
        return this.id;
    }

    public String getName() {
        return this.name;
    }

    public Double getprice() {
        return this.price;
    }
}
